<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
.table td {font-size:14px;}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Mlabadmin/index')}">机房信息</a></li>
			<li class="active"><a href="" target="_self">机房详细信息</a></li>
		</ul>
		
		<table class="table table-bordered table-hover" style="width:75%;">
		<caption><h3>机房详细信息</h3></caption>		
		<tbody>
			<tr>
				<td>机房位置</td>
				<td>{$showinfo.position}</td>
				<td>管理区域</td>
				<td>{$showinfo.area}</td>
				
			</tr>
			
			<tr>
				<td>责任人</td>
				<td>{$showinfo.zrr}</td>
				<td>机房平面图</td>
				<td>
					<php>$smeta=json_decode($showinfo['smeta'],true);</php>
					<foreach name="smeta['photo']" item="voo" key="key">											    								
					<if condition="!empty($voo['url'])">
						<a href="__UPLOAD__{$voo['url']}" target='_blank'>图片[{$key+1}]</a>&nbsp&nbsp
						<else />无图片
					</if>
					</foreach>			
				</td>				
			</tr>			
		</tbody>
		</table>	
			
				<div class="form-actions" style="padding-left:100px;">
						<a href="{:U('Mlabadmin/edit',array('id'=>$showinfo['id']))}"><button  type="submit" class="btn btn-primary">{:L('EDIT')}</button></a>
						<a class="btn" href="{:U('Mlabadmin/index')}">{:L('BACK')}</a>
				</div>
				
				
	</div>	
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	
</body>
</html>